import { request } from '@umijs/max';

// 案件数量统计
export async function caseSummary(data: any) {
  return request('/homePage/caseSummary', {
    method: 'POST',
    data,
  });
}
// 待办提醒列表
export async function noticeLogForPage(data: any) {
  return request('/homePage/noticeLogForPage', {
    method: 'POST',
    data,
  });
}

// 待办消息列表
export async function todoCaseForPage(data: any) {
  return request('/homePage/todoCaseForPage', {
    method: 'POST',
    data,
  });
}
// 查询当前案件是否已存在的提醒未处理
export async function queryIsNoticeLog(caseNo: any) {
  return request(`/homePage/queryIsNoticeLog/${caseNo}`, {
    method: 'POST',
  });
}
